《侠客风云传》中有玩家研究发现可以在存档中增加物品,如何在存档中新增物品?下面为大家介绍一下修改方法,一起来看看吧。
有大神发现了存档是JSON,然后想试试是不是能够用存档添加物品;试了下野球拳谱,成功
以下是野球拳谱的代码:
,{"m_iAmount":1,"_ItemDataNode":{"m_iItemID":920015,"m_strItemName":"\u91CE\u7403\u62F3\u8C31","m_iItemKind":0,"m_iItemType":0,"m_strIcon":"i00532","m_strTip":"[5E0B08]\u3010\u53F3\u952E\u70B9\u51FB\u4F7F\u7528\u3011[-]\n\u4F7F\u7528\u6761\u4EF6\uFF1A\u5B9E\u6218\uFF1A150\n\u4F20\u8BF4\u4E2D\u5C0F\u867E\u7C73\u65E0\u654C\u65BC\u5929\u4E0B\u7684\u6B66\u529F","m_iItemBuy":1,"m_iItemSell":1,"m_iItemStack":1,"m_iMixStack":0,"m_iItemUse":1,"m_iUseTime":1,"m_iAddType":0,"m_iUseMsgID":0,"m_iArtistryID":0,"m_iAmsType":0,"m_strNpcLikeList":[],"m_UseLimitNodeList":[{"m_iType":0,"m_iInde":0,"m_iValue":150}],"m_ItmeEffectNodeList":[{"m_iItemType":20,"m_iRecoverType":0,"m_iValue":70002,"m_iMsgID":200084},{"m_iItemType":19,"m_iRecoverType":0,"m_iValue":20102,"m_iMsgID":0}],"m_strStatusTip":"0","m_iLock":0}}
将它添加到以下代码之前
],"m_CollectionList"
然后保存文件,进游戏读档就可以了。物品会出现在最后一个
关键点:
1. 请先备份好存档,请先备份好存档,请先备份好存档!
2. 要开着游戏
3. 最好利用Save0.save来改(也就是在游戏里面的第一个存档),因为其他存档的位置和顺序貌似不确定
4. 以上代码的逗号因为是放到物品列表的末尾,需要和上一个物品衔接,如果看不懂代码的话不要随意删除
独孤九剑的:
,{"m_iAmount":1,"_ItemDataNode":{"m_iItemID":920004,"m_strItemName":"\u72EC\u5B64\u4E5D\u5251\u79D8\u7B08","m_iItemKind":0,"m_iItemType":0,"m_strIcon":"i00532","m_strTip":"[5E0B08]\u3010\u53F3\u952E\u70B9\u51FB\u4F7F\u7528\u3011[-]\n\u4F7F\u7528\u6761\u4EF6\uFF1A\u6B66\u5B66150\n\u5931\u4F20\u7684\u5251\u6CD5\u7EDD\u5B66","m_iItemBuy":1,"m_iItemSell":1,"m_iItemStack":1,"m_iMixStack":0,"m_iItemUse":1,"m_iUseTime":1,"m_iAddType":0,"m_iUseMsgID":0,"m_iArtistryID":0,"m_iAmsType":0,"m_strNpcLikeList":[],"m_UseLimitNodeList":[{"m_iType":0,"m_iInde":1,"m_iValue":150}],"m_ItmeEffectNodeList":[{"m_iItemType":20,"m_iRecoverType":0,"m_iValue":70016,"m_iMsgID":200084},{"m_iItemType":19,"m_iRecoverType":0,"m_iValue":20405,"m_iMsgID":0}],"m_strStatusTip":"0","m_iLock":0}}
19游戏网整理报道